home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
tcp
/
AbStartTCP.lha
/
StartTCP
next >
Wrap
Text File
|
1996-12-06
|
1KB
|
63 lines
execute StartTCP
requestchoice >env:AbcsServer "ABCS AmiTCP setup" "Select server" "Server1" "Server2" "Server3" "Server4" "Server5" "Local"
Failat 2560
copy AmiTcp:db/resolv.conf.$AbcsServer AmiTCP:db/resolv.conf
cd AmiTcp:Dialup
if $AbcsServer EQ "1"
rx >nil: AbDial.rexx login1.scr
if not warn
if exists env:AbcsIP
echo >env:AbcsLastTCP "1"
AmiTCP:bin/StartNet1 $AbcsIP
endif
endif
endif
if $AbcsServer EQ "2"
rx >nil: AbDial.rexx login2.scr
if not warn
echo >env:AbcsLastTCP "2"
AmiTCP:bin/StartNet2
echo >env:AbcsIP $PPP0IPLocal
endif
endif
if $AbcsServer EQ "3"
rx >nil: AbDial.rexx login3.scr
if not warn
echo >env:AbcsLastTCP "3"
AmiTCP:bin/StartNet3
echo >env:AbcsIP $PPP0IPLocal
endif
endif
if $AbcsServer EQ "4"
rx >nil: AbDial.rexx login4.scr
if not warn
echo >env:AbcsLastTCP "4"
AmiTCP:bin/StartNet4
echo >env:AbcsIP $PPP0IPLocal
endif
endif
if $AbcsServer EQ "5"
rx >nil: AbDial.rexx login5.scr
if not warn
echo >env:AbcsLastTCP "5"
AmiTCP:bin/StartNet5 $AbcsIP
endif
endif
if $AbcsServer EQ "0"
AmiTCP:bin/StartNet0
endif
copy >nil: env:AbcsIP envarc:AbcsIP
copy >nil: env:AbcsLastTCP envarc:AbcsLastTCP
; ABCS AmiTcp startup ...